package com.lq.dubbo.rocketmq.shop.mapper;

import com.lq.dubbo.rocketmq.shop.shop_pojo.TradeGoodsNumbersLogs;
import com.lq.dubbo.rocketmq.shop.shop_pojo.TradeGoodsNumbersLogsExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName: TradeGoodsNumbersLogsMapper
 * @Description:
 * @author: Mybatis Generator
 * @date 2021年06月03日 下午12:09:57
 */
@Mapper
public interface TradeGoodsNumbersLogsMapper {
    long countByExample(TradeGoodsNumbersLogsExample example);

    int deleteByExample(TradeGoodsNumbersLogsExample example);

    int deleteByPrimaryKey(Integer goodsId);

    int insert(TradeGoodsNumbersLogs record);

    int insertSelective(TradeGoodsNumbersLogs record);

    List<TradeGoodsNumbersLogs> selectByExample(TradeGoodsNumbersLogsExample example);

    TradeGoodsNumbersLogs selectByPrimaryKey(Integer goodsId);

    int updateByExampleSelective(@Param("record") TradeGoodsNumbersLogs record, @Param("example") TradeGoodsNumbersLogsExample example);

    int updateByExample(@Param("record") TradeGoodsNumbersLogs record, @Param("example") TradeGoodsNumbersLogsExample example);

    int updateByPrimaryKeySelective(TradeGoodsNumbersLogs record);

    int updateByPrimaryKey(TradeGoodsNumbersLogs record);
}